<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>VIP管理</title>
    <!-- 引入公用部分 -->
    <script th:replace="common/head::static"></script>
</head>
<body>
<!--表格位置-->
<table class="layui-hide" id="levelTable" lay-filter="test"></table>

<script type="text/html" id="toolbarLevel">
    <div class="layui-inline" style="float:right;height:29px;" title="新增" lay-event="addData"><i class="layui-icon layui-icon-add-1"></i></div>
    <div class="layui-inline" style="float:right;height:29px;" title="搜索" lay-event="query"><i class="layui-icon layui-icon-search"></i></div>
    <input type="text" id="levelText" style="width:200px;float:right;height:30px;" placeholder="请输入等级名" autocomplete="off" class="layui-input">
</script>

<script type="text/html" id="barLevel">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

<!--编辑弹出框-->
<div class="levelEditDiv">
    <!-- 操作表单 -->
    <form id="levelForm" class="layui-form layui-form-pane">
        <div class="layui-form-item">
            <label class="layui-form-label">等级名</label>
            <div class="layui-input-block">
                <input type="text" id="levelName" name="levelName" autocomplete="off" placeholder="用户名"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">等级备注</label>
            <div class="layui-input-block">
                <textarea id="levelRemark" name="levelRemark" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>
        <!-- 隐藏域 -->
        <input type="text" id="levelId" name="levelId" hidden="hidden" value="-1"/>
    </form>
</div>

</body>
<link rel="stylesheet" lang="less" scoped type="text/css" th:href="@{mumu/level/level.css}"/>
<script th:src="@{mumu/level/level.js}"></script>
</html>